package com.demo.common.vo;


import java.io.Serializable;

public class ResultVO<T> implements Serializable {
  private Boolean stat;
  private String errId;
  private String errMsg;
  private T data;

  public Boolean getStat() {
    return stat;
  }

  public void setStat(Boolean stat) {
    this.stat = stat;
  }

  public String getErrId() {
    return errId;
  }

  public void setErrId(String errId) {
    this.errId = errId;
  }

  public String getErrMsg() {
    return errMsg;
  }

  public void setErrMsg(String errMsg) {
    this.errMsg = errMsg;
  }

  public T getData() {
    return data;
  }

  public void setData(T data) {
    this.data = data;
  }

  public ResultVO() {
    this.stat = true;
  }

  @Override
  public String toString() {
    return "ResultVO{" + "stat=" + stat + ", errId='" + errId + '\'' + ", errMsg='" + errMsg + '\'' + ", data=" + data + '}';
  }
}
